﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="SchedaLocale.ascx.vb"
    Inherits="WebUserControls_SchedaLocale" %>
<script type="text/javascript" src="../../Scripts/PaginaEvento.js"> </script>
<script src="http://maps.google.com/maps/api/js?sensor=false" type="text/javascript"></script>
<script type="text/javascript" src="../../Scripts/SchedaLocale.js"> </script>
<table class="Repeater">
    <tr>
        <td>
            <div class="DivPaginaEvento" id='DivEvento'>
                <table>
                    <tr>
                        <td>
                            <asp:Image ID="ImgLocale" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="LblNomeLocale" runat="server" Text="Prova" Font-Bold="True" Font-Names="Aharoni"
                                Font-Size="22px" Font-Underline="True"></asp:Label>
                            <asp:Label ID="LblNomeLocaleSecco" runat="server"></asp:Label>
                            <asp:Label ID="LblTipoLocale" runat="server" CssClass="Evento"></asp:Label>
                            &nbsp; <a name="fb_share">Condividi su facebook</a>
                            <script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript">
                            </script>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="LblGiornoChiusura" runat="server" Text="Giorno di chiusura:" CssClass="Evento"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="LblDove" runat="server" Text="Dove: " CssClass="Evento"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label runat="server" ID="LblDescrizione" Text="Descrizione" CssClass="Evento"> </asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:HyperLink ID="HLSito" runat="server" Target="_blank">sito locale</asp:HyperLink>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <%--<iframe id="IFrameMappa" width="750" height="450" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.it/maps?f=q&amp;source=s_q&amp;hl=it&amp;geocode=&amp;q=Prato+Valle+Padova&amp;hnear=Prato+Valle,+Padova&amp;output=embed"></iframe><br /><small><a href="http://maps.google.it/maps?q=Prato+Valle,+Padova">APRI GOOGLE MAP</a></small>--%>
                            <div id="mappa" style="width: 750px; height: 400px;">
                            </div>
                            <a id="linkMappa" target="_blank">VEDI IN GOOGLE</a>
                        </td>
                    </tr>
                </table>
            </div>
        </td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="Lbleventi" runat="server" Text="PROSSIMI EVENTI" Font-Size="16px"></asp:Label>
        </td>
    </tr>
    <tr>
        <td>
            <div id="PanelEventi">
                <div class="Top">
                </div>
                <div class="Medium">
                    <asp:Repeater ID="RptEventi1" runat="server">
                        <ItemTemplate>
                            <table class="Repeater">
                                <tr>
                                    <td rowspan="2">
                                        <asp:Image ID="ImgTarget" Width="50px" runat="server" ImageUrl='<%#DataBinder.Eval(Container.DataItem, "ImgEvento")%>' />
                                    </td>
                                    <td>
                                        <%#DataBinder.Eval(Container.DataItem, "NomeEvento")%>
                                        <a name="fb_share" type="icon_link" share_url='<%#DataBinder.Eval(Container.DataItem, "Link")%>'>
                                            Condividi su Facebook</a>
                                        <script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"> </script>
                                    </td>
                                    <td>
                                        <div id='<%#DataBinder.Eval(Container.DataItem, "ImageApriId")%>' style="cursor: pointer">
                                            <asp:Image ID="Image1" Width="30px" Height="30px" runat="server" ImageUrl="~/Styles/Images/Plus.png" /></div>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2">
                                        <div class="DivSingoloEvento" id='<%#DataBinder.Eval(Container.DataItem, "ItemTemplateId")%>'>
                                            <table>
                                                <tr>
                                                    <td>
                                                        <asp:Label ID="Label3" runat="server" Text="Inizia:" CssClass="Repeater"></asp:Label>
                                                        <%#DataBinder.Eval(Container.DataItem, "DataInizio")%>
                                                        &nbsp &nbsp
                                                        <asp:Label ID="Label4" runat="server" Text="Finisce: " CssClass="Repeater"></asp:Label>
                                                        <%#DataBinder.Eval(Container.DataItem, "DataFine")%>
                                                        &nbsp &nbsp
                                                        <asp:HyperLink ID="HLPaginaEvento" runat="server" Target="_blank" NavigateUrl='<%#DataBinder.Eval(Container.DataItem, "LinkInterno")%>'>Maggiori dettagli e mappa</asp:HyperLink>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        <asp:Label ID="LblDove" runat="server" Text="Dove: " CssClass="Repeater"></asp:Label>
                                                        <%#DataBinder.Eval(Container.DataItem, "Indirizzo")%>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        <asp:Label runat="server" ID="LblDescrizione" Visible="false" Text="Descrizione"
                                                            CssClass="Repeater"> </asp:Label>
                                                        <%#DataBinder.Eval(Container.DataItem, "DescrizioneEvento")%>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        <asp:HyperLink ID="HLVirtualPath" Visible='<%#DataBinder.Eval(Container.DataItem, "BrochurePresente")%>'
                                                            runat="server" Target="_blank" NavigateUrl='<%#DataBinder.Eval(Container.DataItem, "Brochure")%>'> download Brochure </asp:HyperLink>
                                                        &nbsp;
                                                        <asp:HyperLink ID="HyperLink1" Visible='<%#DataBinder.Eval(Container.DataItem, "LinkPresente")%>'
                                                            runat="server" Target="_blank" NavigateUrl='<%#DataBinder.Eval(Container.DataItem, "Link")%>'>link utile evento</asp:HyperLink>
                                                    </td>
                                                </tr>
                                            </table>
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </ItemTemplate>
                    </asp:Repeater>
                </div>
                <div class="Bottom">
                </div>
            </div>
        </td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="LblGallery" runat="server" Text="GALLERY" Font-Size="16px"></asp:Label>
        </td>
    </tr>
    <tr>
        <td>
            <asp:Repeater ID="RptAlbum" runat="server">
                <ItemTemplate>
                    <div id="ImgDiv" style="background-position: left top; display: block; cursor: pointer;
                        background-repeat: no-repeat; display: inline-block; width: 150px">
                        <asp:Image ID="ImgAddress" runat="server" ImageUrl='<%#DataBinder.Eval(Container.DataItem, "ImgAddress")%>'
                            Width="150px" />
                        <asp:Label ID="LblAlbum" runat="server" CssClass="Album" Height="100px" Text='<%#DataBinder.Eval(Container.DataItem, "AlbumTitle")%>'
                            Width="150px"></asp:Label>
                    </div>
                </ItemTemplate>
            </asp:Repeater>
        </td>
    </tr>
</table>
